
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
<head>
<title>后台管理系统</title>
<meta name="author" content="DeathGhost" />
<link rel="stylesheet" type="text/css" href="css/style.css">
<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->

</head>
<body>
<!--header-->
<header>
 <h1><img src="images/admin_logo.png"/></h1>
 <ul class="rt_nav">
  <li><a href="#" target="_blank" class="website_icon">站点首页（放全端首页）</a></li>
  <li><a href="../den" class="quit_icon">安全退出</a></li>
 </ul>
</header>
<aside class="lt_aside_nav content mCustomScrollbar">
 <h2><a href="index.jsp">起始页</a></h2>
 <ul>
  <li>
   <dl>
    <dt>常用布局示例</dt>
    <dd><a href="../loginpage" class="active">商品列表示例</a></dd>
    <dd><a href="product_detail.jsp">商品详情示例</a></dd>
    <dd><a href="zengjia.jsp">商品增加示例</a></dd>
    <dd><a href="../getpage">商品回收站示例</a></dd>
   </dl>
  </li>
  <li>
   <dl>
    <dt>订单信息</dt>
    <dd><a href="../all">订单列表示例</a></dd>
    <dd><a href="#">订单详情示例</a></dd>
   </dl>
  </li>
  <li>
    <dl>
    <dt>会员管理</dt>
    <dd><a href="../page">会员列表示例</a></dd>
    <dd><a href="../add">添加会员（详情）示例</a></dd>
   </dl>
  </li>
  <li>
   <dl>
    <dt>配送与支付设置</dt>
    <dd><a href="express_list.jsp">配送方式</a></dd>
    <dd><a href="pay_list.jsp">支付方式</a></dd>
   </dl>
  </li>
  <li>
   <p class="btm_infor">熊 版权所有</p>
  </li>
 </ul>
</aside>
<section class="rt_wrap content mCustomScrollbar">
<form action="../add" method="post" onsubmit="return aa()";>
 <div class="rt_content">
      <div class="page_title">
       <h2 class="fl">会员详情</h2>
      </div>
      <ul class="ulColumn2">
       <li>
        <span class="item_name" style="width:120px;">会员账号：</span>
        <input type="text" class="textbox textbox_225" id="Id" name="custId"/>
       </li>
       <li>
        <span class="item_name" style="width:120px;">登陆密码：</span>
        <input type="password" class="textbox textbox_225" id="pwd" name="custPwd"/>
       </li>
        <li>
        <span class="item_name" style="width:120px;">昵称：</span>
        <input type="password" class="textbox textbox_225" id="name" name="custName"/>
       </li>
      
       <li>
        <span class="item_name" style="width:120px;">电子邮箱：</span>
        <input type="email" class="textbox textbox_225"  id="email" name="custEmail"/>
       
       </li>
       <li>
        <span class="item_name" style="width:120px;">手机号码：</span>
        <input type="tel" class="textbox textbox_225"  id="phone" name="custPhone"/>
       </li>
       <li>
        <span class="item_name" style="width:120px;">收货地址：</span>
          <input type="text"  id="Addrss" name="addrss"/>
       </li>
       <li>
        <span class="item_name" style="width:120px;">详细地址：</span>
        <input type="text" id="addrss" name="custAddrss" />
       </li>
       <li>
        <span class="item_name" style="width:120px;"></span>
        <input type="submit" id="re" value="更新/保存"/>
       </li>
      </ul>
 </div>
 </form>
</section>
</body>
<script src="js/jquery.js"></script>
<script src="js/jquery.mCustomScrollbar.concat.min.js"></script>
<script>
  function aa(){
      var em=/^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/;
      var id=$("#Id").val();
      var pwd=$("#pwd").val();
      var email=$("#email").val();
      var phone=$("#phone").val();
      var Addrss=$("#Addrss").val();
      var addrss=$("#addrss").val();
      if (id == "" || pwd == "" || email == ""|| phone == "" || Addrss == "" || addrss == "") {
					alert("您输入的信息不能为空");
					return false;
				}else if(time.test(data)==false){
				}else{
	  alert("提交成功");
				location.href = "../page";
				}
				
			
		
	

  } 
	
	
</script>
</html>

